package service;

import java.util.List;

import entity.PageBean;
import entity.tDevice;
import entity.tUser;

public interface tUserService {
	public void add(tUser tuser);
	
	public void delete(String userId);
	
	public void update(tUser tuser);
	
	public List<tUser> search(String userName);
	
	public List<tUser> searchuserName(String userName);
	
	public PageBean searchuserName(String userName,int pageSize,int page);
	
	public List<tUser> searchByGrade();
	
	public tUser login(tUser user);
	
	public List<tUser> searchById(String userId);
	
	public PageBean searchAlltUser(int pageSize,int page);
	
	public List<tUser> searchAlltUser();
	
	
}
